package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 外部应用IP配置
 */
@Getter
@Setter
@Document(collection = "outer_app_ip_config")
public class OuterAppIpConfig extends EntityBase {
    @Indexed
    private String outerAppConfigId;
    /**
     * IP
     */
    @Indexed
    private String ip;
    /**
     * 域名
     */
    @Indexed
    private String domain;
    /**
     * 状态
     */
    private boolean status = Boolean.TRUE;
    /**
     * 备注
     */
    private String desc;
    /**
     * 位置
     */
    private String location;
}
